WBCR\APT\AutoPostThumbnails D

Total Complexity 228
Dependencies 12
Dependents 2
Total lines 1,355
Lines of code 832
Logical lines of code 544
Comment lines 309
Methods 38
Properties 7

Methods 38

Method Rating Maintainability Complexity Lines of code
publish_post()
B
38 22 61
apt_api_google()
B
42 22 46
upload_to_library()
B
35 19 80
generate_post_thumb()
A
38 14 64
upload_font()
A
47 12 31
get_posts_ids()
A
43 11 44
apt_replace_thumbnail()
A
49 11 30
generate_image_with_text()
A
40 9 57
get_fonts()
A
48 10 31
get_thumbnail_id()
A
53 9 21
get_posts_query()
A
48 8 33
insert_attachment()
A
48 7 32
init()
S
50 7 26
apt_check_api_key()
S
52 7 22
generate_and_attachment()
S
46 6 36
ajax_process_post()
S
53 6 23
ajax_delete_post_thumbnails()
S
58 5 16
source_content()
S
57 5 15
check_api_notice()
S
54 4 19
array_contains_key()
S
59 4 15
auto_upload()
S
60 4 12
__construct()
S
56 2 20
get_file_contents()
S
66 3 8
hide_notice_auto_generation()
S
71 3 5
apt_getThumbHtml()
S
59 2 12
check_required_transition()
S
74 2 5
instance()
S
71 2 6
save_post()
S
68 2 7
ajax_actions()
S
59 1 13
notice_auto_generation()
S
68 1 11
rest_after_insert()
S
79 1 3
media_AptTabContent()
S
72 1 5
addToMediaFromApt()
S
72 1 5
apt_get_thumbnail()
S
76 1 4
allow_upload_webp()
S
76 1 4
find_from_text_category()
S
74 1 4
init_includes()
S
91 1 2
get_posts_count()
S
74 1 4